/**
 * 
 */
package org.cuatrovientos.vehicle;

/**
 * circuit class
 * @author Isma
 *
 */
public class Circuit {

	private String name; 
	private int kilometers;
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the kilometers
	 */
	public int getKilometers() {
		return kilometers;
	}
	/**
	 * @param kilometers the kilometers to set
	 */
	public void setKilometers(int positions) {
		this.kilometers = positions;
	}
	/**
	 * constructor
	 * @param name
	 * @param kilometers
	 */
	public Circuit(String name, int kilometers) {
		super();
		this.name = name;
		this.kilometers = kilometers;
	}
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "Circuit [name=" + name + ", kilometers=" + kilometers + "]";
	}
	
	
}
